package com.parkinglot.management.repository;

import com.parkinglot.management.repository.entity.EnteredCarInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EnteredCarInfoRepository extends JpaRepository<EnteredCarInfo,Long> {

    List<EnteredCarInfo> findAllByCarNum(String carNum);
    EnteredCarInfo findEnteredCarInfoByCarNum(String carNum);

}
